package com.dzl.micro.service.impl;

import com.dzl.base.service.BaseServiceImpl;
import com.dzl.micro.dao.WelfareMicroGoodsMapper;
import com.dzl.micro.pojo.WelfareMicroGoods;
import com.dzl.micro.service.WelfareMicroGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 小程序首页装修跳转多商品表(WelfareMicroGoods)表服务实现类
 * @author ChenLong
 * @date 2021-07-30 11:12:53
 */
@Service
public class WelfareMicroGoodsServiceImpl extends BaseServiceImpl<WelfareMicroGoods> implements WelfareMicroGoodsService {

    @Autowired
    private WelfareMicroGoodsMapper mapper;

    /*@Override
    public Integer updateMicroGoodsStatusBatchManage(WelfareGoodsBatchEditDto dto) {
        return mapper.updateMicroGoodsStatusBatchManage(dto);
    }*/

    @Override
    public Integer selectGoodsCountByMicroId(Integer microId) {
        return mapper.selectGoodsCountByMicroId(microId);
    }
}
